<?php if (isset($schedule)) :?>
	<?php echo $schedule->cost ?>
<?php else :?>
<?php echo '<option value=""></option>' ?>
<?php foreach ($schedule_list as $schedule) :?>
	<?php if (isset($selected_schedule) && $selected_schedule == $schedule->schedule) :?>
		<?php echo '<option selected="selected" value="'.$schedule->schedule.'">'.$schedule->schedule.'</option>' ?>
	<?php else :?>
		<?php echo '<option value="'.$schedule->schedule.'">'.$schedule->schedule.'</option>' ?>
	<?php endif ?>
<?php endforeach ?>
<?php endif ?>